Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PM-14259: Fix never lock timeout value doesn't reset on logout #1091

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

matt-livefront
Copy link
Collaborator

@matt-livefront matt-livefront commented Oct 30, 2024

🎟️ Tracking

PM-14259

📔 Objective

If a user has the never timeout value selected and logs out, upon logging into that account again the app was showing their timeout still as never timeout, even though the key doesn't exist to unlock the vault. This fixes that so the timeout is reset to 15 minutes upon logging in again.

📸 Screenshots

Before After
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-30.at.09.43.46.mp4
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-30.at.10.04.17.mp4

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@15e1e8e). Learn more about missing BASE report.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1091   +/-   ##
=======================================
  Coverage        ?   89.35%           
=======================================
  Files           ?      677           
  Lines           ?    42771           
  Branches        ?        0           
=======================================
  Hits            ?    38216           
  Misses          ?     4555           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

phil-livefront
phil-livefront previously approved these changes Oct 30, 2024
Copy link
Collaborator

@phil-livefront phil-livefront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@matt-livefront matt-livefront merged commit defdd8d into main Oct 31, 2024
9 checks passed
@matt-livefront matt-livefront deleted the matt/PM-14259-never-lock-missing-key branch October 31, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants